<%@ page contentType="text/html; charset=euc-kr"%>
			<td align="center" valign="top">
	            <table width="693" border="0" cellpadding="0" cellspacing="0">
	            <tr>
	            <td colspan="2">
	            	<table width="693" border="0" cellspacing="0" cellpadding="0">
	                <tr>
	                <td height="30" colspan="2">
		                <table width="693" height="35" border="0" cellpadding="0" cellspacing="0" background="../img/write_bg.jpg">
		                <tr>
		                <td width="67">&nbsp;</td>
		                <td width="626">&nbsp;&nbsp;<%=board.getSubject() %></td>
		                </tr>
		                </table>
		            </td>
		            </tr>
		            <tr>
	            	<td height="30" colspan="2" align="center" background="../img/line_bg3.jpg">
	            		<table width="693" border="0" cellspacing="0" cellpadding="0">
	                    <tr>
	                    <td width="67" align="center"><img src="../img/writer.jpg" width="30" height="12" /></td>
	                    <td width="280">&nbsp;&nbsp;<%=board.getName() %></td>
	                    <td width="56" align="center"><img src="../img/date.jpg" width="30" height="14" /></td>
	                    <td width="116">&nbsp;&nbsp;<%=DateUtil.getFormatDateTime( board.getReg_date() , "yyyy-MM-dd") %></td>
	                    <td width="54" align="center"><img src="../img/hit.jpg" width="30" height="12" /></td>
	                    <td width="120">&nbsp;&nbsp;<%=board.getHit() %></td>
	                    </tr>
	                    </table>
	                </td>
	                </tr>
<%
	if( !(isAdmin || isMember) ) {
%>
	                <tr>
                    <td height="30" colspan="2" align="center" background="../../img/line_bg3.jpg">
                    	<table width="693" border="0" cellspacing="0" cellpadding="0">
                    	<tr>
                    	<td width="67" align="center"><img src="../../img/tel.jpg" width="30" height="12" /></td>
                        <td width="280">&nbsp;&nbsp;<%=board.getPhone() %></td>
                        <td width="56" align="center"><img src="../../img/email_p.jpg" width="30" height="12" /></td>
                        <td>&nbsp;&nbsp;<%=board.getEmail() %></td>
                        </tr>
                        </table>
                    </td>
                    </tr>
<%
	}
%>
	                <tr>
	                <td height="10" colspan="2" align="center"></td>
	                </tr>
	                <tr>
	                <td height="30" colspan="2" align="center">
	                	<table width="693" height="200" border="0" cellpadding="10" cellspacing="0">
	                    <tr>
	                    <td valign="top"><%= UTIL.addHtmlBr(board.getContent()) %></td>
	                    </tr>
	                    </table>
	                </td>
	                </tr>
	                <tr>
	                <td height="10" colspan="2" align="center"></td>
	                </tr>
	                <tr>
	                <td height="1" colspan="2" align="center" bgcolor="CBD7CD"></td>
	                </tr>
	                <tr>
	                <td height="30" colspan="2" align="center" background="../img/line_bg2.jpg">
                		<table width="693" height="60" border="0" cellpadding="0" cellspacing="0" background="../img/line_bg2.jpg">
<%
	                    if(fileList != null) {
							for(BoardFile bfile : fileList) {		  
                    
%>
	                    <tr>
	                    <td width="67" align="center"><img src="../img/file.jpg" width="40" height="12" /></td>
	                    <td width="626" height="30">&nbsp;&nbsp;<a href="javascript:file_download('<%=bfile.getIdx() %>');"><%=bfile.getFile_name() %></a></td>
	                    </tr>
<%
							}
                    	}
                   	 else {
%>
	                    <tr>
	                    <td width="67" align="center"><img src="../img/file.jpg" width="40" height="12" /></td>
	                    <td width="626" height="30">&nbsp;&nbsp;</td>
	                    </tr>
<%
                    	}
%>
	                    <tr>
	                    <td align="center"><img src="../img/re_write.jpg" width="39" height="12" /></td>
	                    <td height="30">&nbsp;&nbsp;<input id="read_content" name="read_content" type="text" class="inputbox" size="70" />
	                    <a href="javascript:read_insertReply();"><img src="../img/reply.jpg" width="92" height="25" / align="absmiddle" border="0" /></a></td>
	                    </tr>
	                    </table>
	                </td>
	                </tr>
	                <tr>
	                <td height="10" colspan="2" align="center"></td>
	                </tr>
	                <tr>
	                <td width="67" height="30" align="center">&nbsp;</td>
	                <td width="626" height="30">
	                <div id="replyList"></div>
					</td>
	                </tr>
	                <tr>
	                <td height="30" align="center">&nbsp;</td>
	                <td height="30">&nbsp;</td>
	                </tr>
	                </table>
	            </td>
	            </tr>
	            <tr>
	            <td height="30" colspan="2" align="center">
	            	<table width="693" height="90" border="0" cellpadding="0" cellspacing="0" background="../img/line_bg2.jpg">
					<tr>
	                <td width="67" align="center"><img src="../img/pre_l.jpg" width="30" height="12" /></td>
	                <td width="626" height="30">&nbsp;&nbsp;<%=prev!=null? ("<a href='javascript:read_goRead("+prev.getIdx()+")'>"+ prev.getSubject() +"</a>"): "" %></td>
	                </tr>
	                <tr>
	                <td align="center"><img src="../img/next_l.jpg" width="30" height="12" /></td>
	                <td height="30">&nbsp;&nbsp;<%=next!=null? ("<a href='javascript:read_goRead("+next.getIdx()+")'>"+next.getSubject()+ "</a>") : "" %></td>
	                </tr>
	                <tr>
	                <td align="center"><img src="../img/next_l.jpg" width="30" height="12" /></td>
	                <td height="30">&nbsp;&nbsp;<%=next2!=null? ("<a href='javascript:read_goRead("+next2.getIdx()+")'>"+next2.getSubject()+"</a>") : "" %></td>
	                </tr>
	                </table>
	            </td>
	            </tr>
	            <tr>
	            <td height="30" colspan="2" align="center">&nbsp;</td>
	            </tr>
	            <tr>
	            <td><a href="javascript:read_goList();"><img src="../img/list.jpg" width="92" height="25" border="0" /></a></td>
	            <td align="right">
	            <a href="javascript:read_goReWrite();"><img src="../img/write.jpg" width="92" height="25" border="0" /></a>
	            <%if( isMember && login_id.equals( board.getId() ) ) {%>
	            <a href="javascript:read_goEdit();"><img src="../img/edit.jpg" width="92" height="25" border="0" /></a>
	            <%} %>
	            </td>
	            </tr>
	            <tr>
	            <td height="150" colspan="2" align="right">&nbsp;</td>
	            </tr>
	            </table>
	        </td>